package com.users.rn.rncommon.download;

/**
 * @Description:
 * @Author: bluce
 * @Date: 2020/12/3 11:46
 */
public interface PluginDownloadConst {
    int SUCCESS = 0;
    int FAIL_TYPE_PLUGIN_ID_NOT_EXIST = 1000;
    int FAIL_TYPE_API_FAIL = 1001;
    int FAIL_TYPE_DOWNLOAD_ERROR = 1002;
    int FAIL_TYPE_UNZIP_FAIL = 1003;
    int FAIL_TYPE_EXCEPTION = 1004;
    int FAIL_TYPE_FILE_NOT_EXIST = 1005;
    int FAIL_TYPE_FILE_ERROR = 1006;
    int FAIL_TYPE_DOWNLOAD_OR_UNZIP_FINISHED = 1007;
    int FAIL_TYPE_RETRY_MAX_COUNT = 1008;

    int TASK_STATUS_TASK_ILLEAGAL = -1;
    int TASK_STATUS_TASK_UNKNOWN_ERROR = -2;
    int TASK_STATUS_ADD_SUCCESS = 2;
    int TASK_STATUS_TASK_EXIST = 1;
}
